package sqrt;

import org.junit.Test;
import static org.junit.Assert.*;


public class UTest {
	@Test(timeout=1)
	public void sqrttest() {

		// MyClass is tested
		Sqrt tester = new Sqrt();
		float expected = 3;
		float testValue = 9;

		// Tests
		assertEquals(expected, tester.sqrtt(testValue));
	}
	
	@Test
    public void testConcatenate() {
		Sqrt myUnit = new Sqrt();

        String result = myUnit.concatenate("one", "two");

        assertEquals("onetwo", result);
    }
	
	@Test
    public void testConcatenate2() {
		Sqrt myUnit = new Sqrt();

        String result = myUnit.concatenate("one", "two");

        assertEquals("onetwo", result);
    }
	
	@Test
    public void testConcatenate3() {
		Sqrt myUnit = new Sqrt();

        String result = myUnit.concatenate("one", "two");

        assertEquals("onetwo", result);
    }
	
	@Test
    public void testConcatenate4() {
		Sqrt myUnit = new Sqrt();

        String result = myUnit.concatenate("one", "two");

        assertEquals("onetwo", result);
    }
}
